package com.my.jvm.classes;

import java.io.Serializable;

/**
 *
 * @author: marshal
 * @date: 2023-05-08 9:47
 */
public class Son extends Parent implements Serializable {

  private int a;

  public Son() {
  }

  // 如果父类没有无参构造器，则子类必须显示的调用父类的构造器
  public Son(int age, String name) {
    super(age, name);
  }
}
